<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title> - 联系人</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="__PUBLIC__/admin/favicon.ico">
    <link href="__PUBLIC__/admin/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__PUBLIC__/admin/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="__PUBLIC__/admin/css/animate.css" rel="stylesheet">
    <link href="__PUBLIC__/admin/css/style.css?v=4.1.0" rel="stylesheet">
</head>

<include file="Admin@Index:cache" />
<body class="gray-bg contacts" oncopy="copyval()">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox">
                <div class="ibox-content">
                    <h5>用户列表-
                        <small>未认证用户</small>
                    </h5>
                    <div class="col-sm-12" style="margin-bottom: 1rem">
                        <form role="form" action="__MODULE__/CheckManager/today_check" method="get">
                            <div class="form-group">
                                <input type="text" id="content" placeholder="" name="key" class="form-control" value="<{$search.key}>">
                            </div>
                            <div>
                                <input style="height: 2.5rem;" class="laydate-icon" placeholder="起始时间" id="start" name="start" value="<{$search.start}>">
                                <input style="height: 2.5rem;" class="laydate-icon" placeholder="截止时间" id="end" name="end" value="<{$search.end}>">

                                <!--<select class="form-control m-b" name="channel"  id="select_channel" style="margin-bottom: 0;padding-top: 3px;display: inline;width: 11%;" >-->
                                    <!--<option value="">渠道商</option>-->

                                    <!--<volist name="channel" id="vo">-->
                                        <!--<option value="<{$vo.chan_id}>"><{$vo.channel_name}></option>-->
                                    <!--</volist>-->
                                <!--</select>-->
                                <button class="btn btn-sm btn-primary pull-right m-t-n-xs" type="submit" id="search"><strong>搜索</strong>
                                </button>
                            </div>

                        </form>
                    </div>
                    <br>
                    <table class="table table-striped table-bordered table-hover" id="sample-table">
                        <tbody>
                        <tr>
                            <th>ID</th>
                            <th>用户手机号</th>
                            <th>用户姓名</th>
                            <th>借款金额</th>
                            <th>授信金额</th>
                            <th>申请时间</th>
                            <th>出借人</th>
                            <th>审核结果</th>
                            <th>审核人</th>
                        </tr>
                        <volist name="data" id="vo">
                            <tr>
                                <td><{$vo.user_id}></td>
                                <td><{$vo.mobile}></td>
                                <td><{$vo.username}></td>
                                <td><{$vo.loan_amount}></td>
                                <td><{$vo.quota}></td>
                                <td><{$vo.apply_time}></td>
                                <td><{$vo.lender}></td>
                                <td><{$vo.result}></td>
                                <td><{$vo.operator}></td>
                                <!--<td class="client-status">-->
                                    <!--<a class="btn btn-success btn-rounded y" href="__MODULE__/User/user_detail/id/<{$vo.id}>" >详情</a>-->
                                <!--</td>-->
                            </tr>
                        </volist>
                        </tbody>
                    </table>
                    <ul class="pagination">
                        <if condition="$tol gt 10">
                            <{$fpage}>
                        </if>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 全局js -->
<script src="__PUBLIC__/admin/js/jquery.min.js?v=2.1.4"></script>
<script src="__PUBLIC__/admin/js/bootstrap.min.js?v=3.3.6"></script>
<script src="__PUBLIC__/admin/js/layui/layui.js"></script>
<script src="__PUBLIC__/admin/js/layui/lay/modules/laydate.js"></script>
<!-- 自定义js -->
<script src="__PUBLIC__/admin/js/content.js?v=1.0.0"></script>

<script>

    //select赋值
    var option="<{$search.channel}>";
    $('#select_channel').val(option);

    $(document).ready(function () {
        $('.fancybox').fancybox({
            openEffect: 'none',
            closeEffect: 'none'
        });
    });

    layui.use('laydate', function(){
        var laydate = layui.laydate;
        var start = {
            choose:function(dates){
                end.min = dates; //开始日选好后，重置结束日的最小日期
                end.start = dates; //将结束日的初始值设定为开始日
            }
        };
        var end = {
            choose:function(dates){
                start.max = dates; //结束日选好后，重置开始日的最大日期

            }
        };

        document.getElementById('start').onclick = function(){
            start.elem = this;
            laydate(start);
        }
        document.getElementById('end').onclick = function(){
            end.elem = this;
            laydate(end);
        }
    });

</script>


</body>

</html>
